\(\int \frac {1}{x^2 \log ^3(c x)} \, dx\) [41]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 10, antiderivative size = 39 \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\frac {1}{2} c \operatorname {ExpIntegralEi}(-\log (c x))-\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)} \]

[Out]

1/2*c*Ei(-ln(c*x))-1/2/x/ln(c*x)^2+1/2/x/ln(c*x)

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2343, 2346, 2209} \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\frac {1}{2} c \operatorname {ExpIntegralEi}(-\log (c x))-\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)} \]

[In]

Int[1/(x^2*Log[c*x]^3),x]

[Out]

(c*ExpIntegralEi[-Log[c*x]])/2 - 1/(2*x*Log[c*x]^2) + 1/(2*x*Log[c*x])

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2343

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*Log
[c*x^n])^(p + 1)/(b*d*n*(p + 1))), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2346

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rubi steps \begin{align*} \text {integral}& = -\frac {1}{2 x \log ^2(c x)}-\frac {1}{2} \int \frac {1}{x^2 \log ^2(c x)} \, dx \\ & = -\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)}+\frac {1}{2} \int \frac {1}{x^2 \log (c x)} \, dx \\ & = -\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)}+\frac {1}{2} c \text {Subst}\left (\int \frac {e^{-x}}{x} \, dx,x,\log (c x)\right ) \\ & = \frac {1}{2} c \text {Ei}(-\log (c x))-\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\frac {1}{2} c \operatorname {ExpIntegralEi}(-\log (c x))-\frac {1}{2 x \log ^2(c x)}+\frac {1}{2 x \log (c x)} \]

[In]

Integrate[1/(x^2*Log[c*x]^3),x]

[Out]

(c*ExpIntegralEi[-Log[c*x]])/2 - 1/(2*x*Log[c*x]^2) + 1/(2*x*Log[c*x])

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.72

method result size
risch \(\frac {\ln \left (x c \right )-1}{2 x \ln \left (x c \right )^{2}}-\frac {c \,\operatorname {Ei}_{1}\left (\ln \left (x c \right )\right )}{2}\) \(28\)
derivativedivides \(c \left (-\frac {1}{2 x c \ln \left (x c \right )^{2}}+\frac {1}{2 x c \ln \left (x c \right )}-\frac {\operatorname {Ei}_{1}\left (\ln \left (x c \right )\right )}{2}\right )\) \(40\)
default \(c \left (-\frac {1}{2 x c \ln \left (x c \right )^{2}}+\frac {1}{2 x c \ln \left (x c \right )}-\frac {\operatorname {Ei}_{1}\left (\ln \left (x c \right )\right )}{2}\right )\) \(40\)

[In]

int(1/x^2/ln(x*c)^3,x,method=_RETURNVERBOSE)

[Out]

1/2*(ln(x*c)-1)/x/ln(x*c)^2-1/2*c*Ei(1,ln(x*c))

Fricas [A] (verification not implemented)

none

Time = 0.32 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.87 \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\frac {c x \log \left (c x\right )^{2} \operatorname {log\_integral}\left (\frac {1}{c x}\right ) + \log \left (c x\right ) - 1}{2 \, x \log \left (c x\right )^{2}} \]

[In]

integrate(1/x^2/log(c*x)^3,x, algorithm="fricas")

[Out]

1/2*(c*x*log(c*x)^2*log_integral(1/(c*x)) + log(c*x) - 1)/(x*log(c*x)^2)

Sympy [F]

\[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\frac {\int \frac {1}{x^{2} \log {\left (c x \right )}}\, dx}{2} + \frac {\log {\left (c x \right )} - 1}{2 x \log {\left (c x \right )}^{2}} \]

[In]

integrate(1/x**2/ln(c*x)**3,x)

[Out]

Integral(1/(x**2*log(c*x)), x)/2 + (log(c*x) - 1)/(2*x*log(c*x)**2)

Maxima [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 9, normalized size of antiderivative = 0.23 \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=-c \Gamma \left (-2, \log \left (c x\right )\right ) \]

[In]

integrate(1/x^2/log(c*x)^3,x, algorithm="maxima")

[Out]

-c*gamma(-2, log(c*x))

Giac [F]

\[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\int { \frac {1}{x^{2} \log \left (c x\right )^{3}} \,d x } \]

[In]

integrate(1/x^2/log(c*x)^3,x, algorithm="giac")

[Out]

integrate(1/(x^2*log(c*x)^3), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{x^2 \log ^3(c x)} \, dx=\int \frac {1}{x^2\,{\ln \left (c\,x\right )}^3} \,d x \]

[In]

int(1/(x^2*log(c*x)^3),x)

[Out]

int(1/(x^2*log(c*x)^3), x)